package day06;

import java.io.File;

public class Demo09 {

	public static void main(String[] args) {
		
		File f1=new File("test/abc.txt");
		File f2=new File("test/def.txt");
		
		boolean b=f1.renameTo(f2);
		System.out.println(b);
		
		
		
		
		
		
	}

}
